//
import Vue from 'vue';
import vuex from 'vuex';

Vue.use(vuex);
import state from './state';
import mutations from './mutations';
import getters from './getters';
const store = new vuex.Store({//store对象
  state,
  mutations,
  getters,
});
window.$store = store;
export default store;
